package com.ruoyi.teaching.domain;

import java.util.Date;
import java.util.List;

import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.core.annotation.Excel;
import com.ruoyi.common.core.web.domain.BaseEntity;

/**
 * 课表 管理对象 sys_curriculum
 * 
 * @author myh
 * @date 2024-03-25
 */
public class Curriculum extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 主键id */
    private Long id;

    /** 班级id */
    @Excel(name = "班级id")
    private Long classId;

    /** 班级名 */
    @Excel(name = "班级名")
    private String className;

    /** 日期 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "日期", width = 30, dateFormat = "yyyy-MM-dd")
    private Date courseDate;

    /** 星期几 */
    @Excel(name = "星期几")
    private String weekDay;

    /** 内容 */
    @Excel(name = "内容")
    private String content;

    /** 讲师id */
    @Excel(name = "讲师id")
    private Long teacherId;

    /** 讲师名 */
    @Excel(name = "讲师名")
    private String teacherName;

    /** 备注 */
    @Excel(name = "备注")
    private String reamark;

    /** 逻辑删除 0：删除 1：不删除 */
    @Excel(name = "逻辑删除 0：删除 1：不删除")
    private Long deleted;

    /** 校区id */
    @Excel(name = "校区id")
    private Long campusId;

    /** 校区名 */
    @Excel(name = "校区名")
    private String campusName;

    /** 学科id */
    @Excel(name = "学科id")
    private Long subjectId;

    /** 学科名 */
    @Excel(name = "学科名")
    private String subjectName;


    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setClassId(Long classId) 
    {
        this.classId = classId;
    }

    public Long getClassId() 
    {
        return classId;
    }
    public void setClassName(String className) 
    {
        this.className = className;
    }

    public String getClassName() 
    {
        return className;
    }
    public void setCourseDate(Date courseDate) 
    {
        this.courseDate = courseDate;
    }

    public Date getCourseDate() 
    {
        return courseDate;
    }
    public void setWeekDay(String weekDay) 
    {
        this.weekDay = weekDay;
    }

    public String getWeekDay() 
    {
        return weekDay;
    }
    public void setContent(String content) 
    {
        this.content = content;
    }

    public String getContent() 
    {
        return content;
    }
    public void setTeacherId(Long teacherId) 
    {
        this.teacherId = teacherId;
    }

    public Long getTeacherId() 
    {
        return teacherId;
    }
    public void setTeacherName(String teacherName) 
    {
        this.teacherName = teacherName;
    }

    public String getTeacherName() 
    {
        return teacherName;
    }
    public void setReamark(String reamark) 
    {
        this.reamark = reamark;
    }

    public String getReamark() 
    {
        return reamark;
    }
    public void setDeleted(Long deleted) 
    {
        this.deleted = deleted;
    }

    public Long getDeleted() 
    {
        return deleted;
    }
    public void setCampusId(Long campusId) 
    {
        this.campusId = campusId;
    }

    public Long getCampusId() 
    {
        return campusId;
    }
    public void setCampusName(String campusName) 
    {
        this.campusName = campusName;
    }

    public String getCampusName() 
    {
        return campusName;
    }
    public void setSubjectId(Long subjectId) 
    {
        this.subjectId = subjectId;
    }

    public Long getSubjectId() 
    {
        return subjectId;
    }
    public void setSubjectName(String subjectName) 
    {
        this.subjectName = subjectName;
    }

    public String getSubjectName() 
    {
        return subjectName;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("classId", getClassId())
            .append("className", getClassName())
            .append("courseDate", getCourseDate())
            .append("weekDay", getWeekDay())
            .append("content", getContent())
            .append("teacherId", getTeacherId())
            .append("teacherName", getTeacherName())
            .append("reamark", getReamark())
            .append("deleted", getDeleted())
            .append("campusId", getCampusId())
            .append("campusName", getCampusName())
            .append("subjectId", getSubjectId())
            .append("subjectName", getSubjectName())
            .toString();
    }
}
